package knapsackga;

/**
 * A simple class the defines a single object that can be put in a knapsack.
 * From it we know how much it weighs and how valueable it is.
 * 
 * @author nathaniel
 */
public class KnapsackObject
{
    public int weight = 0;

    public int value = 0;

    public KnapsackObject( int weight, int value )
    {
        this.weight = weight;
        this.value = value;
    }
}
